# encoding: UTF-8

default['mysql']['service_name']= 'default'
default['mysql']['version']='5.5'
default['mysql']['port']='3306'
default['mysql']['data_dir']='/data'
default['mysql']['server_root_password'] = 'passwordchange'
default['mysql']['server_package_name']= ''
  
  
  
default['mysql']['client_name']='mysql'
default['mysql']['client_package_name']=['MySQL-client-5.5.34-1.linux2.6.x86_64.rpm','MySQL-devel-5.5.34-1.linux2.6.x86_64.rpm']
default['mysql']['client_package_version']='5.5'
  



default['mysql-multi']['master'] = nil
default['mysql-multi']['slaves'] = %w()
default['mysql-multi']['slave_user'] = 'replicant'
default['mysql-multi']['server_repl_password'] = nil
#default['mysql-multi']['bind_ip'] = nil

default['mysql-multi']['templates']['my.cnf']['cookbook'] = 'mysql-multi'
default['mysql-multi']['templates']['my.cnf']['source'] = 'my.cnf.erb'

default['mysql-multi']['templates']['user.my.cnf']['cookbook'] = 'mysql-multi'
default['mysql-multi']['templates']['user.my.cnf']['source'] = 'user.my.cnf.erb'

default['mysql-multi']['templates']['slave.cnf']['cookbook'] = 'mysql-multi'
default['mysql-multi']['templates']['slave.cnf']['source'] = 'slave.cnf.erb'

default['mysql-multi']['templates']['master.cnf']['cookbook'] = 'mysql-multi'
default['mysql-multi']['templates']['master.cnf']['source'] = 'master.cnf.erb'
